package com.qidian.mes.pojo;

import lombok.Data;

import java.util.Date;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @Time 2023/10/25 14:39
 * @Description
 */
@Data
public class DictData {
    private Long dataId;
    private String dataTag;
    private Integer dataValue;
    private Integer dataOrder;
    private Integer dataStatus;
    private String dataNotes;
    private Long dictId;
    private Date dataCreateTime;
    private Date dataModifyTime;
    private Long dataCreateTimeMillis;
    private Long dataModifyTimeMillis;



    public void setDataModifyTime(Date dataModifyTime) {
        this.dataModifyTime = dataModifyTime;
    }

    public Long getDataCreateTimeMillis() {
        if(this.dataCreateTime != null)
            return this.dataCreateTime.getTime();
        return null;
    }

    public void setDataCreateTimeMillis(Long dateCreateTimeMillis) {
        this.dataCreateTimeMillis = dateCreateTimeMillis;
    }

    public Long getDataModifyTimeMillis() {
        if(this.dataModifyTime != null)
            return this.dataModifyTime.getTime();
        return null;
    }

}
